<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<form action="/upload.do" method="POST" enctype="multipart/form-data">
    文件:<input type="file" name="pic"><br>
    <input type="submit" value="提交"/>
</form>

</body>
</html>